package com.teach.ser;

import java.io.Serializable;

//@SuppressWarnings("serial")
public class Student implements Serializable {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 345231012715789961L;
	public static String school = "XXX学院";
	private transient String name;
	private Integer age;
	private Float result;
	
	
	
	public Student(String name, Integer age, Float result) {
		super();
		this.name = name;
		this.age = age;
		this.result = result;
	}
	
	public static String getSchool() {
		return school;
	}
	public static void setSchool(String school) {
		Student.school = school;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Float getResult() {
		return result;
	}
	public void setResult(Float result) {
		this.result = result;
	}
	@Override
	public String toString() {
		return super.toString()+"[name=" + name + ", age=" + age + ", result=" + result + "]"+school;
	}
	
	
}
